package 四种风格.面向对象;

public class Main1 {
    public static void main(String[] args) {
        String inputFilePath = args[0];
        String outputFilePath = args[1];

        Input input = new Input();
        input.input(inputFilePath);
        Shift shift = new Shift(input.getLineTxt());
        shift.shift();
        Alphabetizer alphabetizer = new Alphabetizer(shift.getKwicList());
        alphabetizer.sort();
        Output output = new Output(alphabetizer.getKwicList());
        output.output(outputFilePath);
    }

}
